﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003EF RID: 1007
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DressAvatarScRsp : IMessage<DressAvatarScRsp>, IMessage, IEquatable<DressAvatarScRsp>, IDeepCloneable<DressAvatarScRsp>, IBufferMessage
	{
		// Token: 0x17000CF1 RID: 3313
		// (get) Token: 0x06002D1F RID: 11551 RVA: 0x0007C978 File Offset: 0x0007AB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DressAvatarScRsp> Parser
		{
			get
			{
				return DressAvatarScRsp._parser;
			}
		}

		// Token: 0x17000CF2 RID: 3314
		// (get) Token: 0x06002D20 RID: 11552 RVA: 0x0007C97F File Offset: 0x0007AB7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DressAvatarScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000CF3 RID: 3315
		// (get) Token: 0x06002D21 RID: 11553 RVA: 0x0007C991 File Offset: 0x0007AB91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DressAvatarScRsp.Descriptor;
			}
		}

		// Token: 0x06002D22 RID: 11554 RVA: 0x0007C998 File Offset: 0x0007AB98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarScRsp()
		{
		}

		// Token: 0x06002D23 RID: 11555 RVA: 0x0007C9A0 File Offset: 0x0007ABA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarScRsp(DressAvatarScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002D24 RID: 11556 RVA: 0x0007C9C5 File Offset: 0x0007ABC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarScRsp Clone()
		{
			return new DressAvatarScRsp(this);
		}

		// Token: 0x17000CF4 RID: 3316
		// (get) Token: 0x06002D25 RID: 11557 RVA: 0x0007C9CD File Offset: 0x0007ABCD
		// (set) Token: 0x06002D26 RID: 11558 RVA: 0x0007C9D5 File Offset: 0x0007ABD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06002D27 RID: 11559 RVA: 0x0007C9DE File Offset: 0x0007ABDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DressAvatarScRsp);
		}

		// Token: 0x06002D28 RID: 11560 RVA: 0x0007C9EC File Offset: 0x0007ABEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DressAvatarScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002D29 RID: 11561 RVA: 0x0007CA1C File Offset: 0x0007AC1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002D2A RID: 11562 RVA: 0x0007CA5B File Offset: 0x0007AC5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002D2B RID: 11563 RVA: 0x0007CA63 File Offset: 0x0007AC63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002D2C RID: 11564 RVA: 0x0007CA6C File Offset: 0x0007AC6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002D2D RID: 11565 RVA: 0x0007CAA0 File Offset: 0x0007ACA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002D2E RID: 11566 RVA: 0x0007CADE File Offset: 0x0007ACDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DressAvatarScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002D2F RID: 11567 RVA: 0x0007CB0F File Offset: 0x0007AD0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002D30 RID: 11568 RVA: 0x0007CB18 File Offset: 0x0007AD18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040011E6 RID: 4582
		private static readonly MessageParser<DressAvatarScRsp> _parser = new MessageParser<DressAvatarScRsp>(() => new DressAvatarScRsp());

		// Token: 0x040011E7 RID: 4583
		private UnknownFieldSet _unknownFields;

		// Token: 0x040011E8 RID: 4584
		public const int RetcodeFieldNumber = 14;

		// Token: 0x040011E9 RID: 4585
		private uint retcode_;
	}
}
